package com.xhsj.user.sms.process.mapper;

import com.xhsj.user.sms.process.entity.TbPurchaseProcessOpinion;
import com.xhsj.user.sms.purchase.vo.OpinionQueryVo;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 审核意见表 Mapper 接口
 * </p>
 *
 * @author suxiaolin
 * @since 2020-03-16
 */
@Mapper
public interface TbPurchaseProcessOpinionMapper extends BaseMapper<TbPurchaseProcessOpinion> {

    //    获取审批意见
    List<Map<String, Object>> findAuditOpinionList(@Param("dataId") String dataId);

   //    部门审批页面流程进度
    List<OpinionQueryVo> departmentProgressProgress(@Param("nodeId") String nodeId, @Param("dataId") String dataId);

    //获取归口部门意见
    List<Map<String, Object>> getDeptLeaderOpinon(@Param("dataId") String dataId, @Param("nodeIdList") List<String> nodeIdList);
}
